const obj = {
    name: "John Smith",
    outer() {
        const inner = () => {
            console.log(this.name);
        };

        inner();
    }
};
obj.outer();
